package cn.ymjr.business.dao;

import cn.ymjr.business.entity.SysUserAddress;
import cn.ymjr.sys.config.base.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SysUserAddressMapper extends BaseMapper<SysUserAddress> {

    List<SysUserAddress> selectByUserId(Integer userId);

    int cleanDefault(Integer userId);

    List<SysUserAddress> findPage(Integer userId);
}